const Router = require('koa-router');
const adminController = require('./../controller/admin')

let router = new Router({
  prefix: '/admin'
});

router.get('/index', adminController.index);

router.post('/file/upload', adminController.addFile)

module.exports = router;